package com.gxa.jd.service;

import com.gxa.exception.CustomerException;
import com.gxa.jd.pojo.Employee;
import com.gxa.entity.PageResult;

import java.util.*;

/**
 * employee业务逻辑层
 */
public interface EmployeeService {

    public Employee login(String username, String password);

    public List<Employee> findAll();


    public PageResult<Employee> findPage(int page, int size);


    public List<Employee> findList(Map<String, Object> searchMap);


    public PageResult<Employee> findPage(Map<String, Object> searchMap, int page, int size);


    public Employee findById(Long id);

    public void add(Employee employee);


    public void update(Employee employee);


    public void delete(Long id);

    public List<Employee> aaaaa() throws CustomerException;

    ;

}
